home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
outline
/
outline.sty
< prev
next >
Wrap
Text File
|
1992-02-07
|
2KB
|
51 lines
% Save file as: OUTLINE.STY Source: FILESERV@SHSU.BITNET
% outline.sty by Peter Halvorson, Georgia Institute of Technology,
% Nuclear Engineering, (404) 894-8710 peter@fission.gatech.edu
% ne201ph@prism.gatech.edu
% As of January 10, 1991
% Create six-level list environment {outline} for making outlines; mark
% each outline topic with \item. Use of label/ref sequences provided.
% A direct hack of the enumerate code from latex.tex ( added more depth and
% outline style numbering). Use as you would use the enumerate environment.
\@definecounter{@outlndepth}
\newcount\@outlndepth \@outlndepth = 0
\@definecounter{outlni}
\@definecounter{outlnii}
\@definecounter{outlniii}
\@definecounter{outlniv}
\@definecounter{outlnv}
\@definecounter{outlnvi}
\def\outline{\ifnum \@outlndepth >5 \@toodeep\else
\advance\@outlndepth \@ne
\edef\@outlnctr{outln\romannumeral\the\@outlndepth}\list
{\csname label\@outlnctr\endcsname}{\usecounter
{\@outlnctr}\def\makelabel##1{\hss\llap{##1}}}\fi}
\let\endoutline =\endlist
\def\labeloutlni{\theoutlni.}
\def\theoutlni{\Roman{outlni}}
\def\labeloutlnii{\theoutlnii.}
\def\theoutlnii{\Alph{outlnii}}
\def\p@outlnii{\theoutlni}
\def\labeloutlniii{\theoutlniii.}
\def\theoutlniii{\arabic{outlniii}}
\def\p@outlniii{\p@outlnii\theoutlnii}
\def\labeloutlniv{\theoutlniv.}
\def\theoutlniv{\alph{outlniv}}
\def\p@outlniv{\p@outlniii\theoutlniii}
\def\labeloutlnv{(\theoutlnv)}
\def\theoutlnv{\arabic{outlnv}}
\def\p@outlnv{\p@outlniv\theoutlniv}
\def\labeloutlnvi{(\theoutlnvi)}
\def\theoutlnvi{\alph{outlnvi}}
\def\p@outlnvi{\p@outlnv\theoutlnv}